<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>particles.js</title>
    <meta
      name="description"
      content="particles.js is a lightweight JavaScript library for creating particles."
    />
    <meta name="author" content="Vincent Garreau" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <link rel="stylesheet" media="screen" href="css/style.css" />
  </head>
  <body>
    <!-- count particles -->
    <div class="count-particles">
      <span class="js-count-particles">--</span> particles
    </div>

    <style>
      /* 设置绝对定位 */
      #particles-js {
        position: absolute;
      }
      /* 设置内容 */
      #content {
        font-size: 40px;
        color: white;
        position: relative;
        top: 40%;
        text-align: center;
      }
    </style>

    <!-- particles.js container -->
    <div id="particles-js"></div>

    <!-- content -->
    <div id="content">
      <h1>hello</h1>
      <a href="https://gitee.com/liang-tian-yu">This is my world</a>
    </div>

    <!-- scripts -->
    <script src="../particles.js"></script>
    <script src="js/app.js"></script>
  </body>
</html>
